home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
MorphOS
/
Epic4_mos
/
share
/
epic
/
help
/
6_functions
/
randread
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
2002-10-28
|
350 b
|
18 lines
Synopsis:
$randread(<fd>)
Technical:
This function reads a random line from a file opened with the $open()
function.
Practical:
This function has many novelty uses: random messages for /quit, /kick,
/part, or /topic.
Returns:
data read from file, or nothing on error
See Also:
close(6); open(6); read(6)